package com.hy.admin.service;

import com.hy.admin.entity.MemberEntity;
import com.hy.admin.helper.request.AccountRequest;
import com.hy.core.response.ServicesResult;

/**
 * Created by shitou on 17/12/25.
 */
public interface AccountService {
    ServicesResult<MemberEntity> init(String deviceIdentify);
    ServicesResult<MemberEntity> Register(AccountRequest accountRequest);
    ServicesResult<MemberEntity> login(AccountRequest accountRequest);
    ServicesResult<MemberEntity> getMember(Long memberId);
    ServicesResult<Boolean> updatePwd(String mobile, String password);
    ServicesResult<Boolean> resetPwd(String oldPassword, String mobile, String newPassword);
}
